<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8" />
<title>登陆页</title>
</head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<body>
<span th:text="${message}"></span> 
    <form action="init" th:object="${UserBean}"  method="post">
	<input name="userId" type="text"/><br/> 
	<input name="passWord" type="text"/><br/>
	<button type="submit" name="login">登录</button><br/>
	<button type="submit" name="register">注册</button>
    </form>
</body>
</html>